package stravel

class Blog {
	
	String name
	String url
	static hasMany = [entries:BlogEntry]

    static constraints = {
		name nullable:false, blank:false
		url blank:false,url:true
    }
	
	String toString(){
		return name
	}
}
